package com.itsxb.config;

import com.itsxb.autoconfigure.RedisSerializableConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;

@Configuration
public class RedisSerializableConfig {
    @Bean
    public RedisSerializableConfiguration getRedisSerializableConfiguration(RedisConnectionFactory redisConnectionFactory) {
        return new RedisSerializableConfiguration(redisConnectionFactory);
    }
}
